# -*- coding: utf-8 -*-

height = 60.0
travel = 60.0 #落地时走过的总距离
for i in range(0,10): #反弹的次数
    travel += height
    height /= 2  #反弹的高度    
    print('第%d次回弹并落地后经过的距离为%.3f米:' % (i+1,travel))
    print('第%d次回弹的高度为%.5f米:' % (i+1,height))
#     print(height)
# print('共经过了%.3f米:' % travel)
# print('第10次回弹高度为%.5f米:' % height)
